<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>对话框输出</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">MessageRequester()</font></b></p>
<p><b>语法</b></p><blockquote>

Result = <font color="#3A3966"><b>MessageRequester</b></font>(Title$, Text$ [, Flags])</blockquote>

</blockquote>
<b>概要</b><br><blockquote>



Opens a blocking requester to display some information. The program execution 
is totally stopped until the user close the requester. 

 

</blockquote><p><b>参数</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>Title$</i></td>
<td width="90%"> 
 
The title of the requester window. 

 

</td></tr>
<tr><td><i>Text$</i></td>
<td> 
 
The text displayed in the requester window. 

 

</td></tr>
<tr><td><i>Flags (可选)</i></td>
<td> 
它可以是以下值之一︰ 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_MessageRequester_Ok</font>          : to have the 'ok' only button (Standard)
  <font color="#924B72">#PB_MessageRequester_YesNo</font>       : to have 'yes' or 'no' buttons
  <font color="#924B72">#PB_MessageRequester_YesNoCancel</font> : to have 'yes', 'no' and 'cancel' buttons
</font></pre>

</td></tr>
</table>
</blockquote><p><b>返回值</b></p><blockquote>

它可以是下列常量之一: 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_MessageRequester_Yes</font>    : the 'yes' button was pressed
  <font color="#924B72">#PB_MessageRequester_No</font>     : the 'no' button was pressed
  <font color="#924B72">#PB_MessageRequester_Cancel</font> : the 'Cancel' button was pressed
</font></pre>

</blockquote><p><b>示例</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <font color="#3A3966">; Simple MessageRequester  (normally used for information purposes only)</font>
  <font color="#3A3966">; (result will be always the same, so we don't check it here)</font>
<font color="#3A3966">  MessageRequester</font>("Information", "Just a short information text.", <font color="#924B72">#PB_MessageRequester_Ok</font>)

  <font color="#3A3966">; MessageRequester with Yes / No buttons  (normally used for questions)</font>
  <font color="#3A3966">; (result will be shown in the following information requester)</font>
  Result =<font color="#3A3966"> MessageRequester</font>("Title", "Please make your input:", <font color="#924B72">#PB_MessageRequester_YesNo</font>)
  a$ = "Result of the previously requester was: "
  <b><font color="#3A3966">If</font></b> Result = <font color="#924B72">#PB_MessageRequester_Yes</font>    <font color="#3A3966">; pressed Yes button (Result = 6)</font>
    a$ + "Yes"
  <b><font color="#3A3966">Else</font></b>                                    <font color="#3A3966">; pressed No button (Result = 7)</font>
    a$ + "No"
  <b><font color="#3A3966">EndIf</font></b>
<font color="#3A3966">  MessageRequester</font>("Information", a$, <font color="#924B72">#PB_MessageRequester_Ok</font>)

  <font color="#3A3966">; MessageRequester with Yes / No / Cancel buttons  (normally used for questions)</font>
  <font color="#3A3966">; (result will be shown in the following information requester)</font>
  Result =<font color="#3A3966"> MessageRequester</font>("Title", "Please make your input:", <font color="#924B72">#PB_MessageRequester_YesNoCancel</font>) 
  a$ = "Result of the previously requester was: "
  <b><font color="#3A3966">If</font></b> Result = <font color="#924B72">#PB_MessageRequester_Yes</font>       <font color="#3A3966">; pressed Yes button</font>
    a$ + "Yes"
  <b><font color="#3A3966">ElseIf</font></b> Result = <font color="#924B72">#PB_MessageRequester_No</font>    <font color="#3A3966">; pressed No button</font>
    a$ + "No"
  <b><font color="#3A3966">Else</font></b>                                       <font color="#3A3966">; pressed Cancel button or Esc</font>
    a$ + "Cancel"
  <b><font color="#3A3966">EndIf</font></b>
<font color="#3A3966">  MessageRequester</font>("Information", a$, <font color="#924B72">#PB_MessageRequester_Ok</font>)
</font></pre>
<br>
<p><img src="../HelpPictures/messagerequester.png"></p>

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center>&lt;- <a href=inputrequester.html>InputRequester()</a> - <a href="index.html">Requester Index</a> - <a href="nextselectedfilename.html">NextSelectedFilename()</a> -&gt;<br><br>

</body></html>